package com.ktgj.customer.domain;

import com.ktgj.common.core.annotation.Excel;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class MenuDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    public MenuDTO()
    {
        children = new ArrayList<>();
    }

    /** 菜单ID */
    private Long menuId;

    /** 菜单名称 */
    @Excel(name = "菜单名称")
    private String menuName;

    /** 菜单路径 */
    @Excel(name = "菜单路径")
    private String menuUrl;

    /** 父菜单 */
    @Excel(name = "父菜单")
    private Long menuParent;

    /** 菜单图标 */
    @Excel(name = "菜单图标")
    private String menuIcon;

    /** 菜单备注 */
    @Excel(name = "菜单备注")
    private String menuDesc;

    /** 菜单状态 */
    @Excel(name = "菜单状态")
    private String menuStatus;

    /** 模块 */
    @Excel(name = "模块")
    private String model;

    /** 排序 */
    @Excel(name = "排序")
    private String sort;

    /** 类型 */
    private Integer type;

    private List<?> list;

    private List<MenuDTO> children;

    public List<MenuDTO> getChildren()
    {
        return children;
    }

    public void setChildren(List<MenuDTO> children)
    {
        this.children = children;
    }

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    public String getSort() {
        return sort;
    }

    public void setSort(String sort) {
        this.sort = sort;
    }

    public Long getMenuId() {
        return menuId;
    }

    public void setMenuId(Long menuId) {
        this.menuId = menuId;
    }

    public String getMenuName() {
        return menuName;
    }

    public void setMenuName(String menuName) {
        this.menuName = menuName;
    }

    public String getMenuUrl() {
        return menuUrl;
    }

    public void setMenuUrl(String menuUrl) {
        this.menuUrl = menuUrl;
    }

    public Long getMenuParent() {
        return menuParent;
    }

    public void setMenuParent(Long menuParent) {
        this.menuParent = menuParent;
    }

    public String getMenuIcon() {
        return menuIcon;
    }

    public void setMenuIcon(String menuIcon) {
        this.menuIcon = menuIcon;
    }

    public String getMenuDesc() {
        return menuDesc;
    }

    public void setMenuDesc(String menuDesc) {
        this.menuDesc = menuDesc;
    }

    public String getMenuStatus() {
        return menuStatus;
    }

    public void setMenuStatus(String menuStatus) {
        this.menuStatus = menuStatus;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public List<?> getList() {
        return list;
    }

    public void setList(List<?> list) {
        this.list = list;
    }

    @Override
    public String toString() {
        return "MenuDTO{" +
                "menuId=" + menuId +
                ", menuName='" + menuName + '\'' +
                ", menuUrl='" + menuUrl + '\'' +
                ", menuParent=" + menuParent +
                ", menuIcon='" + menuIcon + '\'' +
                ", menuDesc='" + menuDesc + '\'' +
                ", menuStatus='" + menuStatus + '\'' +
                '}';
    }
}
